Servebolt\Optimizer\MenuCache\MenuCache S

Total Complexity 44
Dependencies 1
Dependents 0
Total lines 371
Lines of code 149
Logical lines of code 77
Comment lines 155
Methods 26
Properties 6

Methods 26

Method Rating Maintainability Complexity Lines of code
purgeMenuCache()
S
57 6 17
getCachedMenu()
S
64 3 10
returnCachedOutput()
S
65 3 9
returnNewlyCachedOutput()
S
65 3 9
cacheAndReturnMenu()
S
59 2 15
cacheInit()
S
74 2 5
cachePurgeInit()
S
71 2 5
shouldReturnCachedMenu()
S
70 2 6
preWpNavMenu()
S
71 2 6
addMenuSignatureToMenuSignatureIndex()
S
68 2 7
getMenuSignatureIndex()
S
71 2 5
getNavMenuArgs()
S
71 1 6
recordNavMenuArgs()
S
76 1 4
init()
S
77 1 4
wpNavMenuOff()
S
78 1 3
getMenuMarkupCacheExpirationTime()
S
79 1 3
preWpNavMenuOn()
S
78 1 3
wpNavMenuOn()
S
78 1 3
setMenuSignatureIndex()
S
70 1 7
getMenuSignatureIndexCacheExpirationTime()
S
79 1 3
getMenuSignature()
S
75 1 4
getTransientKeyByArgs()
S
79 1 3
getTransientKey()
S
79 1 3
menuSignatureTransientKey()
S
79 1 3
returnCachedMenuIfCached()
S
80 1 3
preWpNavMenuOff()
S
80 1 3